home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 #16 / 2001 CD 16 (Black).iso / Black Bass / data1.cab / Program_Executable_Files / MenuResources / MenuDefines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-09  |  11.7 KB  |  327 lines

  1. // MenuDefines.h:  Interface macro definitions for menu resources.
  2.  
  3. #define MID_PALETTE                367500
  4.  
  5. #define WID_ENTRY_POINT                9873569
  6.  
  7. // One animation must be defined with this ID (used for page fade timing).
  8. #define WID_ANIM_FADE_TIMING            569853
  9.  
  10. // The intro movie.
  11. #define WID_AVI_INTRO                    5768699
  12.  
  13. // IDs needed by compiled action code.
  14. #define WID_RCC_PLAYER_SELECT_CHOICE            4489001
  15. #define WID_SC_PLAYER_SELECT_INFO                4489002
  16. #define WID_SWITCH_DBUTTON_PLAYER_SELECT_NEW    4489003
  17. #define WID_SWITCH_DBUTTON_PLAYER_SELECT_DELETE    4489004
  18. #define WID_SWITCH_DBUTTON_PLAYER_SELECT_LOAD    4489005
  19. #define WID_SWITCH_PLAYER_SELECT_GENDER            4489006
  20. #define WID_TEXT_PLAYER_SELECT_NAME                4489007
  21. #define WID_SC_PLAYER_SELECT_COMPLETE            4489008
  22. #define WID_SWITCH_PLAYER_SELECT_BULLETS        4489009
  23.  
  24. #define WID_RCC_PROTOCOL                        4489879
  25. #define WID_PAGE_CONNECT_IPX                    4489880
  26. #define WID_SWITCH_DBUTTON_CONNECT_IPX_JOIN        4489882
  27. #define WID_PAGE_LOBBY                            4489883
  28. #define WID_SWITCH_DBUTTON_LOBBY_START            4489884
  29. #define WID_TEXT_LOBBY_PLAYERS                    4489885
  30. #define WID_RADIO_CONNECT_IPX_NAME                4489886
  31. #define WID_TEXT_CONNECT_IPX_NAME_DESELECT        4489887
  32. #define WID_RCC_CONNECT_IPX_GAMES                4489888
  33.  
  34. #define WID_PAGE_CONNECT_TCP                    4489889
  35. #define WID_IMAGE_CONNECT_TCP_BACKGROUND        4489890
  36. #define WID_TEXT_CONNECT_TCP_CREATE_ADDRESS        4489891
  37. #define WID_EDIT_CONNECT_TCP_JOIN_ADDRESS        4489892
  38. #define WID_BUTTON_CONNECT_TCP_CANCEL            4489893
  39. #define WID_BUTTON_CONNECT_TCP_CREATE            4489894
  40. #define WID_SWITCH_DBUTTON_CONNECT_TCP_JOIN        4489895
  41. #define WID_PAGE_DIALOG_JOIN                    4489896
  42. #define WID_TEXT_DIALOG_JOIN_INFO                4489897
  43.  
  44. #define WID_EDIT_LOBBY_CHAT                        4489898
  45. #define WID_TEXT_LOBBY_CHAT                        4489899
  46.  
  47. #define WID_SCROLLBAR_OPTIONS_VOLUME_ENV        4490001
  48. #define WID_SCROLLBAR_OPTIONS_VOLUME_VOICE        4490002
  49. #define WID_PAGE_OPTIONS                        4490003
  50. #define WID_RCC_OPTIONS_HW                        4490004
  51. #define WID_RCC_OPTIONS_RES                        4490005
  52. #define WID_RCC_OPTIONS_FF                        4490006
  53.  
  54. #define WID_TEXT_LOBBY_TINFO                    4490100
  55.  
  56. #define WID_PAGE_TINFO                            4490200
  57.  
  58. #define WID_SWITCH_DBUTTON_LOCATIONS_MAP_LAKEPOINT        4490300
  59. #define WID_SWITCH_DBUTTON_LOCATIONS_MAP_CAPEVINCENT    4490301
  60. #define WID_SWITCH_DBUTTON_LOCATIONS_MAP_TAYLOR            4490302
  61. #define WID_SWITCH_DBUTTON_LOCATIONS_MAP_AUGUSTINE        4490303
  62.  
  63. #define WID_PAGE_LOCATIONS                        4490400
  64. #define WID_SWITCH_LOCATIONS_TITLE                4490401
  65.  
  66. #define WID_DS_RADIO_LOCATIONS_EUFAULA            4490500
  67. #define WID_DS_RADIO_LOCATIONS_1000                4490501
  68. #define WID_DS_RADIO_LOCATIONS_OKEECHOBEE        4490502
  69. #define WID_DS_RADIO_LOCATIONS_SAMRAYBURN        4490503
  70.  
  71. #define WID_SWITCH_LOCATIONS_MAP                4490600
  72. #define WID_RCC_RADIO_LOCATIONS                    4490601
  73. #define WID_SWITCH_LOCATIONS_DESCRIPTION        4490602
  74.  
  75. #define WID_BACKGROUND_MAIN                        4490700
  76.  
  77. #define WID_SWITCH_STAR_BAGBY                    4490800
  78. #define WID_SWITCH_STAR_CHEWALLA                4490801
  79. #define WID_SWITCH_STAR_1000                    4490802
  80. #define WID_SWITCH_STAR_CLAYTON                    4490803
  81. #define WID_SWITCH_STAR_CLEWISTON                4490804
  82. #define WID_SWITCH_STAR_LAKEPORT                4490805
  83. #define WID_SWITCH_STAR_CASSELLS                4490806
  84. #define WID_SWITCH_STAR_TWINDIKES                4490807
  85.  
  86. #define WID_PAGE_EXIT                            4490900
  87.  
  88. #define WID_PAGE_PLAYER_SELECT WID_ENTRY_POINT
  89.  
  90.  
  91. // This action ceases execution of the menu.  Calls Menu::ActionExit
  92. // This action takes no parameters.
  93. #define AID_USER_EXIT                457800
  94.  
  95. // Starts the game.
  96. // Calls Menu::ActionStart
  97. // This action requires no parameters.
  98. #define AID_USER_START                457801
  99.  
  100. // This action sets the current page to the page given.  Calls Menu::ActionSetPage
  101. // This action requires 1 parameter:
  102. //        arg1 = the type ID of the page to be set
  103. #define AID_USER_SET_PAGE            209885
  104.  
  105. // This action sets the current page to the page given immediately.  Calls Menu::ActionSetPageImmediate
  106. // This action requires 1 parameter:
  107. //        arg1 = the type ID of the page to be set
  108. #define AID_USER_SET_PAGE_IMMEDIATE        1345700
  109.  
  110. // This action sets the page to the previous page set with AID_USER_SET_PAGE.
  111. // Calls Menu::ActionBack
  112. // This action takes no parameters.
  113. #define AID_USER_BACK                209886
  114.  
  115. // This action sets the page to the previous page set with AID_USER_SET_PAGE immediately.
  116. // Calls Menu::ActionBack
  117. // This action takes no parameters.
  118. #define AID_USER_BACK_IMMEDIATE            1345701
  119.  
  120. // This action sets the given data index to the given value
  121. // Calls Menu::ActionSetData
  122. // This action requires 2 parameters:
  123. //        arg1 = the index of the data member (one of the MENU_DATA_INDEX_... values).
  124. //        arg2 = the value to set the data member to (one of the MENU_DATA_VALUE_... values).
  125. #define AID_USER_SET_DATA            209887
  126.  
  127. // Combines the functionality of SET_PAGE and SET_DATA (the data value is set before the page value, thus
  128. // it ensures data necessary to set a page is set before the page change occurs.)
  129. // Calls Menu::ActionSetDataAndPage
  130. // This action requires 2 parameters:
  131. //        arg1 = the index of the data member (one of the MENU_DATA_INDEX_... values).
  132. //        arg2 = the value to set the data member to (one of the MENU_DATA_VALUE_... values).
  133. //        arg3 = the type ID of the page to be set
  134. #define AID_USER_SET_DATA_AND_PAGE            3478966
  135.  
  136.  
  137. // Pops up the choose user dialog box.
  138. // Calls: bbm_ActionChooseUserDialog
  139. // Parameters:    arg1 = choose user dialog box widget ID.
  140. //                arg2 = list box widget ID (must be a child of dialog box).
  141. //                arg3 = widget ID of widget to be switched to state index 1 when a valid player name is selected.
  142. //                arg4 = player name normal font ID
  143. //                arg3 = player name highlighted font ID
  144. //                arg3 = player name pressed font ID
  145. #define AID_USER_CHOOSE_PLAYER_DIALOG        209889
  146.  
  147. // Called when the player presses 'new' from the choose player menu.
  148. // Calls: bbm_ActionNewPlayerDialog
  149. // Parameters:    arg1 = widget ID of new player dialog
  150. //                arg2 = widget ID of widget to be switched to state 1 when a valid name has been chosen.
  151. #define AID_USER_NEW_PLAYER_DIALOG            209890
  152.  
  153. // Called when the player presses the delete button in the choose player dialog.
  154. // Calls: bbm_ActionDeletePlayerDialog
  155. // Parameters:    arg1 = widget ID of confirmation dialog.
  156. //                arg2 = widget ID of text box on the confirmation dialog that will ask for confirmation.
  157. #define AID_USER_DELETE_PLAYER_DIALOG        209891
  158.  
  159. // Called when the player presses OK in the player select menu
  160. // Calls: bbm_ActionChoosePlayerOk
  161. // Parameters:    none
  162. #define AID_USER_CHOOSE_PLAYER_OK            209892
  163.  
  164. // Called whenever a player slot is selected.
  165. // Calls: bbm_ActionPlayerSelected
  166. // Parameters:    none.
  167. #define AID_USER_PLAYER_SELECTED            209895
  168.  
  169. // Called when the user presses the new player button.
  170. // Calls: bbm_ActionPlayerNew
  171. // Parameters:    arg1 = widget ID of new-player page.
  172. //                arg2 = widget ID of gender selection.
  173. //                arg3 = widget ID of OK button.
  174. #define AID_USER_PLAYER_NEW                    209896
  175.  
  176. // Called when the user presses the delete player button.
  177. // Calls: bbm_ActionPlayerDelete
  178. // Parameters:    arg1 = widget ID of confirmation pop-up.
  179. //                arg2 = widget ID of confirmation text box on delete dialog.
  180. #define AID_USER_PLAYER_DELETE                209897
  181.  
  182. // Called when the user types text in the name edit box.
  183. // Calls: bbm_ActionNameChange
  184. // Parameters:    none.
  185. #define AID_USER_NAME_CHANGE                209899
  186.  
  187. // Called when the user selects OK in the new player dialog.
  188. // Calls: bbm_ActionNewOk
  189. // Parameters:    none.
  190. #define AID_USER_NEW_OK                        209900
  191.  
  192. // Called when the user selects cancel in the new player dialog.
  193. // Calls: bbm_ActionNewCancel
  194. // Parameters:    none.
  195. #define AID_USER_NEW_CANCEL                    209901
  196.  
  197. // Called when the user confirms a player deletion.
  198. // Calls: bbm_ActionDeleteOk
  199. // Parameters:    none.
  200. #define AID_USER_DELETE_OK                    209902
  201.  
  202. // Called when the user cancels a player deletion.
  203. // Calls: bbm_ActionDeleteCancel
  204. // Parameters:    none.
  205. #define AID_USER_DELETE_CANCEL                209903
  206.  
  207. // Called when the user presses OK on the protocol page.
  208. // Calls: bbm_ActionSetPageConnect
  209. // Parameters:    none.
  210. #define AID_USER_SET_PAGE_CONNECT            209904
  211.  
  212. // Called when the user presses create on the IPX connection page.
  213. // Calls: bbm_ActionConnectIPXCreate
  214. // Parameters:    none.
  215. #define AID_USER_CONNECT_IPX_CREATE            209906
  216.  
  217. // Called when the user presses join on the IPX connection page.
  218. // Calls: bbm_ActionConnectIPXJoin
  219. // Parameters:    none.
  220. #define AID_USER_CONNECT_IPX_JOIN            209908
  221.  
  222. // Called when the game server presses start in the network lobby.
  223. // Calls: bbm_ActionLobbyStart
  224. // Parameters:    none.
  225. #define AID_USER_LOBBY_START                209909
  226.  
  227. // Called when the player changes the text in the join IP field.
  228. // Calls: bbm_ActionTCPJoinAddressChange
  229. // Parameters:    none.
  230. #define AID_USER_TCP_JOIN_ADDRESS_CHANGE    209910
  231.  
  232. // Called when the user presses the create button on the TCP connection page.
  233. // Calls: bbm_ActionConnectTCPCreate
  234. // Parameters:    none.
  235. #define AID_USER_CONNECT_TCP_CREATE            209911
  236.  
  237. // Called when the user presses join on the TCP connection page.
  238. // Calls: bbm_ActionConnectTCPJoin
  239. // Parameters:    none.
  240. #define AID_USER_CONNECT_TCP_JOIN            209912
  241.  
  242. // Called when the user presses cancel on the tcp join connection dialog.
  243. // Calls: bbm_ActionDialogJoinCancel
  244. // Parameters:    none.
  245. #define AID_USER_DIALOG_JOIN_CANCEL            209913
  246.  
  247. // Called when the user types something in the lobby chat box.
  248. // Calls: bbm_ActionLobbyChatChange
  249. // Parameters:    none.
  250. #define AID_USER_LOBBY_CHAT_CHANGE            209914
  251.  
  252. // Called to set a given game-data member to a value corresponding to the event causing the action.  Possible events
  253. // are GM_EVENT_CHANGE_ACTIVE and GM_EVENT_CHANGE_SCROLL
  254. // Calls: bbm_ActionSetDataFromActive
  255. // Parameters:    arg1 = index into the game-data array (must be in the range [0, GAME_DATA_AMOUNT)).
  256. #define AID_USER_SET_DATA_FROM_EVENT        209915
  257.  
  258. // Called to play a tutorial video.
  259. // Calls: bbm_ActionPlayTutorialVideo
  260. // Parameters:    arg1 = Index into the tutorial movie list (range 0 to TUTORIAL_VIDEO_MAX).
  261. #define AID_USER_PLAY_TUTORIAL_VIDEO        209916
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. #define GAME_DATA_AMOUNT                7
  269.  
  270. #define GAME_DATA_TYPE_GAME_MODE        0
  271. #define GAME_DATA_TYPE_PORT                1
  272. #define GAME_DATA_TYPE_HARDWARE            2
  273. #define GAME_DATA_TYPE_RESOLUTION        3
  274. #define GAME_DATA_TYPE_FORCE_FEEDBACK    4
  275. #define GAME_DATA_TYPE_VOLUME_ENV        5
  276. #define GAME_DATA_TYPE_VOLUME_VOICE        6
  277.  
  278. #define BBM_GAME_MODE_EXIT            -1
  279. #define BBM_GAME_MODE_TOURNAMENT    0
  280. #define BBM_GAME_MODE_BEGINNER        1
  281. #define BBM_GAME_MODE_FREEFISHING    2
  282. #define BBM_GAME_MODE_MULTIPLAYER    3
  283.  
  284. #define BBM_PORT_INVALID            -1
  285. #define BBM_PORT_BAGBY                0x00
  286. #define BBM_PORT_CHEWALLA            0x01
  287. #define BBM_PORT_LAKEPOINT            0x02
  288. #define BBM_PORT_1000                0x10
  289. #define BBM_PORT_CLAYTON            0x11
  290. #define BBM_PORT_CAPEVINCENT        0x12
  291. #define BBM_PORT_CLEWISTON            0x20
  292. #define BBM_PORT_LAKEPORT            0x21
  293. #define BBM_PORT_TAYLOR                0x22
  294. #define BBM_PORT_CASSELLS            0x30
  295. #define BBM_PORT_TWINDIKES            0x31
  296. #define BBM_PORT_AUGUSTINE            0x32
  297. #define BBM_PORT_BEGINNER            0x33
  298.  
  299. #define BBM_HARDWARE_ON                1
  300. #define BBM_HARDWARE_OFF            0
  301. #define BBM_RESOLUTION_HIGH            1
  302. #define BBM_RESOLUTION_LOW            0
  303. #define BBM_FORCE_FEEDBACK_ON        1
  304. #define BBM_FORCE_FEEDBACK_OFF        0
  305.  
  306.  
  307. #define TUTORIAL_VIDEO_ATTACKS_SF        0
  308. #define TUTORIAL_VIDEO_ATTACKS_BF        1
  309. #define TUTORIAL_VIDEO_ATTACKS_TF        2
  310. #define TUTORIAL_VIDEO_ATTACKS_SM        3
  311. #define TUTORIAL_VIDEO_ATTACKS_BD        4
  312. #define TUTORIAL_VIDEO_ATTACKS_CK        5
  313. #define TUTORIAL_VIDEO_ATTACKS_EL        6
  314. #define TUTORIAL_VIDEO_ATTACKS_BFF        7
  315. #define TUTORIAL_VIDEO_BEHAVIOR_WF        8
  316. #define TUTORIAL_VIDEO_BEHAVIOR_SB        9
  317. #define TUTORIAL_VIDEO_BEHAVIOR_A        10
  318. #define TUTORIAL_VIDEO_BEHAVIOR_TF        11
  319. #define TUTORIAL_VIDEO_BEHAVIOR_BS        12
  320. #define TUTORIAL_VIDEO_BEHAVIOR_LB        13
  321. #define TUTORIAL_VIDEO_ENV_BF            14
  322. #define TUTORIAL_VIDEO_ENV_T            15
  323. #define TUTORIAL_VIDEO_ENV_N            16
  324. #define TUTORIAL_VIDEO_ENV_NG            17
  325. #define TUTORIAL_VIDEO_ENV_FP            18
  326. #define TUTORIAL_VIDEO_MAX                19
  327.